﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

/// <summary>
/// Summary description for UserInfo
/// </summary>
public class UserInfo
{
    #region properties
    private String strUserName;

    public String StrUserName
    {
        get { return strUserName; }
        set { strUserName = value; }
    }
    private String strPassWord;

    public String StrPassWord
    {
        get { return strPassWord; }
        set { strPassWord = value; }
    }
    private String strFullName;

    public String StrFullName
    {
        get { return strFullName; }
        set { strFullName = value; }
    }
    private String strAddress;

    public String StrAddress
    {
        get { return strAddress; }
        set { strAddress = value; }
    }
    private Department depDepartment;

    public Department DepDepartment
    {
        get { return depDepartment; }
        set { depDepartment = value; }
    }
    private DateTime dateBirthday;

    public DateTime DateBirthday
    {
        get { return dateBirthday; }
        set { dateBirthday = value; }
    }
    private String strPhone;

    public String StrPhone
    {
        get { return strPhone; }
        set { strPhone = value; }
    }
    private Position posPosition;

    public Position PosPosition
    {
        get { return posPosition; }
        set { posPosition = value; }
    }
    private String strEmail;

    public String StrEmail
    {
        get { return strEmail; }
        set { strEmail = value; }
    }
    private Status staStatus;

    public Status StaStatus
    {
        get { return staStatus; }
        set { staStatus = value; }
    }
    private String imgAvatar;

    public String ImgAvatar
    {
        get { return imgAvatar; }
        set { imgAvatar = value; }
    }
    private String imgSignature;

    public String ImgSignature
    {
        get { return imgSignature; }
        set { imgSignature = value; }
    }
    #endregion 

	public UserInfo()
    {
        ImgAvatar = null;
        ImgSignature = null;
        StrUserName = Constant.STR_DEFAULT;
        StrPassWord = Constant.STR_DEFAULT;
        StrFullName = Constant.STR_DEFAULT;
        StrAddress = Constant.STR_DEFAULT;
        DepDepartment = new Department();
        DateBirthday = new DateTime();
        StrPhone = Constant.STR_DEFAULT;
        StrEmail = Constant.STR_DEFAULT;
        StaStatus = new Status();
        PosPosition = new Position();
        ImgSignature = Constant.STR_DEFAULT;
        ImgAvatar = Constant.STR_DEFAULT;
    }
}
